import { IParam } from '../../common';
import { IMDCtrlStore } from './i-md-ctrl-store';

/**
 * 表格部件仓库数据接口
 *
 * @export
 * @interface IGridStore
 * @extends {ICtrlStore}
 */
export interface IGridStore extends IMDCtrlStore {
	/**
	 * 是否开启行编辑
	 *
	 * @type {boolean}
	 * @memberof IGridStore
	 */
	enableRowEdit: boolean;

	/**
	 * 值规则校验结果模型
	 *
	 * @type {IParam[]}
	 * @memberof IGridStore
	 */
	ruleModel: IParam;

	/**
	 * 值规则组
	 *
	 * @type {IParam}
	 * @memberof IGridStore
	 */
	rules: IParam;

	/**
	 * 聚合数据
	 *
	 * @type {IParam}
	 * @memberof IGridStore
	 */
	aggData: IParam;

    /**
     * 列过滤
     *
     * @type {IParam}
     * @memberof IGridStore
     */
    columnFilter: IParam;
}
